package com.ice.cloud.comm.sentinelapi;

import com.ice.cloud.comm.resp.R;
import com.ice.cloud.comm.resp.ReturnCodeEnum;
import org.springframework.stereotype.Component;

@Component
public class PayFeignSentinelMpiFallback implements SentinelApi {
    @Override
    public R<String> feeDeductionSentinel(Integer id, Double money) {
        return R.error(ReturnCodeEnum.RC500.getCode(), "调用者不能访问啦，我自己降级啦");
    }
}
